package com.prasanna.practice.controller 
{
	import com.prasanna.practice.model.Model;
	import com.prasanna.practice.view.TCViewMc;
	import com.prasanna.practice.vo.IRVO;
	import flash.display.MovieClip;
	/**
	 * ...
	 * @author Prasanna Patra
	 */
	public class ViewController 
	{
		public var tcContainerMc:MovieClip;
		private var model:Model = Model.instance;
		
		public function ViewController() 
		{
			
		}
		
		public function populateData():void 
		{
			for (var i:int = 0; i < 5; i++) 
			{
				var irVO:IRVO = model.irVOarr[i];
				var tcViewMc:TCViewMc = new TCViewMc();
				tcViewMc.y = i * 20;
				tcViewMc.populate(irVO);
				//tcContainerMc.addChild(tcViewMc);
			}
		}
		
	}

}